home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat1 / xfs_bmap.z / xfs_bmap
Encoding:
Text File  |  2001-04-17  |  3.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4. xxxxffffssss____bbbbmmmmaaaapppp((((1111MMMM))))                                                      xxxxffffssss____bbbbmmmmaaaapppp((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      xfs_bmap - print block mapping for an XFS file
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      xxxxffffssss____bbbbmmmmaaaapppp [ ----aaaa ] [ ----llll ] [ ----dddd ] [ ----nnnn _n_n_n ] [ ----vvvv ] file ...
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      _x_f_s__b_m_a_p prints the map of disk blocks used by files in an XFS
  16.      filesystem.  The map lists each _e_x_t_e_n_t used by the file, as well as
  17.      regions in the file that do not have any corresponding blocks (_h_o_l_es).
  18.      Each line of the listings takes the following form:
  19.  
  20.  
  21.           _e_x_t_e_n_t: [_s_t_a_r_t_o_f_f_s_e_t.._e_n_d_o_f_f_s_e_t]: _s_t_a_r_t_b_l_o_c_k.._e_n_d_b_l_o_c_k
  22.  
  23.  
  24.      Holes are marked by replacing the _s_t_a_r_t_b_l_o_c_k.._e_n_d_b_l_o_c_k with _h_o_l_e.  All
  25.      the file offsets and disk blocks are in units of 512-byte blocks, no
  26.      matter what the filesystem's block size is.
  27.  
  28.      If portions of the file have been migrated offline by a DMAPI
  29.      application, a DMAPI read event will be generated to bring those portions
  30.      back online before the disk block map is printed.  However if the ----dddd
  31.      option is used, no DMAPI read event will be generated for a DMAPI file
  32.      and offline portions will be reported as holes.
  33.  
  34.      If the ----llll option is used, then
  35.  
  36.  
  37.           <_n_b_l_o_c_k_s> _b_l_o_c_k_s
  38.  
  39.  
  40.      will be appended to each line.  _N_b_l_o_c_k_s is the length of the extent
  41.      described on the line in units of 512-byte blocks.
  42.  
  43.      If the ----aaaa option is given, information about the file's attribute fork is
  44.      printed instead of the default data fork.
  45.  
  46.      If the ----nnnn _n_n_n option is given, xxxxffffssss____bbbbmmmmaaaapppp obtains the extent list of the
  47.      file in groups of _n_n_n extents.  In the absence of ----nnnn, xxxxffffssss____bbbbmmmmaaaapppp queries
  48.      the system for the number of extents in the file and uses that value to
  49.      compute the group size.
  50.  
  51.      If the ----vvvv option is given, the XFS allocation group and allocation group
  52.      offsets are displayed for each extent.  If the allocation is on a striped
  53.      device, a flag is also displayed indicating if the extent does not fall
  54.      on a stripe boundry.
  55.  
  56. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  57.      fcntl(F_GETBMAPX) _f_i_l_e_n_a_m_e: Invalid argument
  58.                The file _f_i_l_e_n_a_m_e is not in an XFS filesystem.
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. xxxxffffssss____bbbbmmmmaaaapppp((((1111MMMM))))                                                      xxxxffffssss____bbbbmmmmaaaapppp((((1111MMMM))))
  71.  
  72.  
  73.  
  74. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  75.      fcntl(2), lv(7M), xlv(7M).
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.